package com.handpay.zztong.hp.setting.model;

import android.os.Parcel;
import android.os.Parcelable;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * @author sxshi on 2017/2/21.
 *         版本信息说明
 */

public class VersionInfoBean extends ResponseBean{
    private String description;
    private String version;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.description);
        dest.writeString(this.version);
    }

    public VersionInfoBean() {
    }

    protected VersionInfoBean(Parcel in) {
        this.description = in.readString();
        this.version = in.readString();
    }

    public static final Parcelable.Creator<VersionInfoBean> CREATOR = new Parcelable.Creator<VersionInfoBean>() {
        @Override
        public VersionInfoBean createFromParcel(Parcel source) {
            return new VersionInfoBean(source);
        }

        @Override
        public VersionInfoBean[] newArray(int size) {
            return new VersionInfoBean[size];
        }
    };

    @Override
    public String toString() {
        return "VersionInfoBean{" +
                "description='" + description + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
